package cn.maxhou.mapper;

import cn.maxhou.entity.Auction;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuctionMapper {
    List<Auction> getAuctionList();
    List<Auction> searchAuctionList(@Param("entity") Auction auction);
    int deleteAuction(int auctionId);
    int insertAuction(Auction auction);
    Auction getAuctionById(int auctionId);
}
